package com.example.readfile

import android.content.Context
import android.util.AttributeSet
import android.view.View
import com.shuyu.gsyvideoplayer.video.StandardGSYVideoPlayer

class CustomGSYVideoPlayer: StandardGSYVideoPlayer {

    constructor(context: Context) : super(context) {
        init()
    }

    constructor(context: Context, attrs: AttributeSet) : super(context, attrs) {
        init()
    }

    private fun init() {
        // 循环播放
        isLooping = true

        // 隐藏返回按钮
        backButton?.visibility = View.GONE
    }
}